cmake_minimum_required (VERSION 2.4)
project (LOGISTIC_REGRESSION)

set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG DEBUG=1) 
set(EXECUTABLE_OUTPUT_PATH ./bin)
set(LIBRARY_OUTPUT_PATH ./bin)

set(CMAKE_CXX_FLAGS_PROFILE "-pg -g -O1")
set(CMAKE_C_FLAGS_PROFILE "-pg -g -O1")
set(LINK_FLAGS_PROFILE "-pg -g -O1") 


# OpenCV detection
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
set(LIBS ${LIBS} ${OpenCV_LIBRARIES})
 

add_subdirectory(logReg)
include_directories(logReg)
 

